package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qk.domain.customer.CustomerDO;
import com.qk.dto.customer.CustomerListDTO;
import com.qk.dto.customer.UpdateCustomerDTO;
import com.qk.entity.Customer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 客户管理Mapper
 * @Author:Mr.m
 * @Date: 2025-10-17 20:31
 * @Description:
 */
@Mapper
public interface CustomerMapper extends BaseMapper<Customer> {

    /**
     * 修改客户
     * @param dto
     */
    void updateCustomer(UpdateCustomerDTO dto);

    /**
     * 客户列表查询
     * @param dto
     * @return
     */
    List<CustomerDO> selectByPage(CustomerListDTO dto);


}
